package extendDemo;

public class Test {
    public static void main(String[] args) {
        //继承
        B b = new B();
        System.out.println(b.i);

        b.print1();
        b.print3();
    }
}
